﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD  HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>Login_Our_Web</title>
		<script type="text/javascript">
	function validate() {
		var nameTxt = document.getElementById('n').value;
		if(nameTxt.length>0) 
		return true;
		return false;
	}
	
	function changeImage() {
		var img = document.getElementById('img1');
		var newSrc = "../ImagServlet?" + (new Date()).getTime();
		img.src = newSrc;
	}
	</script>
	</head>
	<body>
		<img src="../ImagServlet" width="200" heigth="200" id="img1" />
		<br>
		<a href="javascript:;" onclick="changeImage(); ">看不见了，重新来一个</a>
	</body>
</html>